package com.linln.component.actionLog.action.model;

import com.linln.modules.system.enums.ActionLogEnum;


/**
 * @author 小懒虫
 * @date 2018/10/15
 */

public class LoginType extends BusinessType{

    /** 日志类型 */
    protected Byte type = ActionLogEnum.LOGIN.getCode();

    public LoginType(String message) {
        super(message);
    }

    public LoginType(String name, String message) {
        super(name, message);
    }

    @Override
    public Byte getType() {
        return type;
    }

    @Override
    public void setType(Byte type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "LoginType{" +
                "type=" + type +
                '}';
    }
}
